<div class="noteDetails">
	<div class="controlsWrapper">
		<note-controls data="note" />
	</div>
	<div class="details" ng-if="mode == 'note'">
		<h4>{{note.title}}</h4>
		<strong>{{note.intro}}</strong>
		<p>{{note.content}}</p>
	</div>
	<div class="new" ng-if="mode == 'create'"><form>
		<label>Tytuł:<input class="new title" type="text" ng-model="new.title" /></label>
		<label>Wstęp:<input type="text" class="new intro" ng-model="new.intro"></input></label>
		<label>Treść:<textarea class="new content" ng-model="new.content"></textarea></label>
		<button ng-click="create()">Zapisz</button>
	</form></div>
	<div class="edit" ng-if="mode == 'edit' && note">
		<label>Tytuł:<input class="actual title" type="text" ng-model="note.title" /></label>
		<label>Wstęp:<input type="text" class="actual intro" ng-model="note.intro"></input></label>
		<label>Treść:<textarea class="actual content" ng-model="note.content"></textarea></label>
		<button ng-click="save()">Zapisz</button>
	</div>
</div>